﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN26_2E.aspx.cs" Inherits="IFRS_WIN26_2E" %>

<%@ Register Assembly="vsm.WebControls" Namespace="vsm.WebControls" TagPrefix="vsm" %>
<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">           
            <div class="table_detail">                    
            <div class="rowinfo">                        
                <div class="collabel_single">
                    <asp:Label ID="lblCollateralType" runat="server" Text="<%$Resources:ifrsField,TimeToRecovery_CollateralType%>" />&nbsp;:&nbsp;
                </div>
                <div class="colinfo_single">
                    <asp:DropDownList ID="ddlCollateralType" runat="server" SkinID="DropDownListWithNoColor" />
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqCollateralType" runat="server" ErrorMessage=""
                        ControlToValidate="ddlCollateralType" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
            </div>             
            <div class="rowinfo">
                <div class="collabel_single">
                    <asp:Label ID="lblTimeToRecoveryValue" runat="server" Text="<%$Resources:ifrsField,TimeToRecovery_TimeToRecoveryValue%>" />&nbsp;:&nbsp;
                </div>
                <div class="colinfo">                        
                    <cc1:TextboxNumber ID="txtTimeToRecoveryValue" runat="server" SkinID="TextBoxWithNoColor" 
                        MaxLength="10" DigitDecimal="0" TypeTextbox="Currency" />
                    <asp:Label ID="lblYEAR" runat="server" Text="<%$Resources:ifrsField,YEAR%>" />&nbsp;
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqTimeToRecoveryValue" runat="server" ErrorMessage=""
                        ControlToValidate="txtTimeToRecoveryValue" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>                       
            </div>  
            <div class="colbtn">
                <asp:Button ID="btnSAVE" SkinID="NormalButton" runat="server" 
                    Text="<%$Resources:ifrsButton,SAVE%>" onclick="btnSAVE_Click" />&nbsp;
                <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" 
                    Text="<%$Resources:ifrsButton,CANCEL%>" onclick="btnCANCEL_Click" />
            </div>
        </div>
    </div>    
    <asp:HiddenField ID="hidTimeToRecoveryID" runat="server" />
    <asp:HiddenField ID="hidUpdateDate" runat="server" />    

    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>
